
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Swagger UI</title>
    <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.24.2/swagger-ui.css" >
    <link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />
    <link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" />
    <style>
        html
        {
            box-sizing: border-box;
            overflow: -moz-scrollbars-vertical;
            overflow-y: scroll;
        }
        *,
        *:before,
        *:after
        {
            box-sizing: inherit;
        }

        body {
            margin:0;
            background: #fafafa;
        }
    </style>
</head>

<body>

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="position:absolute;width:0;height:0">
    <defs>
        <symbol viewBox="0 0 20 20" id="unlocked">
            <path d="M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V6h2v-.801C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8z"></path>
        </symbol>

        <symbol viewBox="0 0 20 20" id="locked">
            <path d="M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8zM12 8H8V5.199C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8z"/>
        </symbol>

        <symbol viewBox="0 0 20 20" id="close">
            <path d="M14.348 14.849c-.469.469-1.229.469-1.697 0L10 11.819l-2.651 3.029c-.469.469-1.229.469-1.697 0-.469-.469-.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-.469-.469-.469-1.228 0-1.697.469-.469 1.228-.469 1.697 0L10 8.183l2.651-3.031c.469-.469 1.228-.469 1.697 0 .469.469.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c.469.469.469 1.229 0 1.698z"/>
        </symbol>

        <symbol viewBox="0 0 20 20" id="large-arrow">
            <path d="M13.25 10L6.109 2.58c-.268-.27-.268-.707 0-.979.268-.27.701-.27.969 0l7.83 7.908c.268.271.268.709 0 .979l-7.83 7.908c-.268.271-.701.27-.969 0-.268-.269-.268-.707 0-.979L13.25 10z"/>
        </symbol>

        <symbol viewBox="0 0 20 20" id="large-arrow-down">
            <path d="M17.418 6.109c.272-.268.709-.268.979 0s.271.701 0 .969l-7.908 7.83c-.27.268-.707.268-.979 0l-7.908-7.83c-.27-.268-.27-.701 0-.969.271-.268.709-.268.979 0L10 13.25l7.418-7.141z"/>
        </symbol>


        <symbol viewBox="0 0 24 24" id="jump-to">
            <path d="M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7z"/>
        </symbol>

        <symbol viewBox="0 0 24 24" id="expand">
            <path d="M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"/>
        </symbol>

    </defs>
</svg>

<div id="swagger-ui"></div>

<script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.24.2/swagger-ui-bundle.js"> </script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.24.2/swagger-ui-standalone-preset.js"> </script>
<script>
    window.onload = function() {
        const ui = SwaggerUIBundle({
            spec: {
    "swagger": "2.0",
    "info": {
        "title": "mall/proto/api.proto",
        "version": ""
    },
    "schemes": [
        "http",
        "https"
    ],
    "consumes": [
        "application/json",
        "multipart/form-data"
    ],
    "produces": [
        "application/json"
    ],
    "paths": {
        "/mall.Mall/ShelfProdsOnShelfCheck": {
            "get": {
                "summary": "检查商品是否在货架(删除检查，仅返回上架商品)",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.ShelfProdsOnShelfCheckResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "sg_id",
                        "description": "品牌ID",
                        "in": "query",
                        "required": false,
                        "type": "integer"
                    },
                    {
                        "name": "ids",
                        "description": "商品ID列表,unique",
                        "in": "query",
                        "required": true,
                        "type": "array",
                        "items": {
                            "type": "integer"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/customer/cart": {
            "get": {
                "summary": "查看购物车",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.GetCustomerCartResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CustomerRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            },
            "delete": {
                "summary": "清空购物车",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CustomerRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            },
            "post": {
                "summary": "购物车变更",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.ModifyCartRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/customer/cart/request-id": {
            "get": {
                "summary": "生成购物车结算页唯一ID接口",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.GenCustomerRequestIdResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CustomerRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/customer/deliver/store": {
            "get": {
                "summary": "经销商模式查询发货仓",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DeliverStoreResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CustomerStoreRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/customer/groups": {
            "get": {
                "summary": "查看商品分组",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.GetCustomerGroupsResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CustomerStoreRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/customer/main": {
            "get": {
                "summary": "查看商城首页",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.GetMallMainPageResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.GetMallMainPageRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/customer/order/combined/cancel": {
            "post": {
                "summary": "取消待组合支付订单",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.GetCustomerOrderCombineRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/customer/order/combined/create": {
            "post": {
                "summary": "组合下单",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.OrderCombineCreateRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/customer/order/combined/pay": {
            "get": {
                "summary": "基于请求号查询参与订单摘要",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.GetCustomerOrderCombineResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.GetCustomerOrderCombineRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            },
            "post": {
                "summary": "唤起/重试组合支付",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.pay.DoPayOrderView"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CreateCombinePayRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/customer/order/combined/trigger": {
            "get": {
                "summary": "前端感知支付成功调用一次后，开始的轮询请求，轮询到status=true时可以跳转订单详情，失败时停留在结算页即可",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CustomerOrderRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            },
            "post": {
                "summary": "前端感知支付成功调用一次，用于开启查询定时任务；此后可以触发轮询",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CustomerOrderRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/customer/order/confirm": {
            "post": {
                "summary": "订单确认收货",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CustomerOrderRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/customer/order/info": {
            "get": {
                "summary": "订单详情",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.CustomerOrderInfoResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CustomerOrderRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/customer/order/query": {
            "get": {
                "summary": "订单分类列表",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.CustomerOrderQueryResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CustomerOrderQueryRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/customer/page": {
            "get": {
                "summary": "查看商城装修",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.GetMallPageResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CustomerStoreRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/customer/prod": {
            "get": {
                "summary": "查看商品详情",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.GetCustomerProdResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.GetCustomerProdRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/customer/refund/apply": {
            "post": {
                "summary": "订单申请售后",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.OrderRefundApplyResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.OrderRefundApplyRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/customer/refund/cancel": {
            "post": {
                "summary": "取消退货申请单",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CustomerOrderRefundApplyInfoRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/customer/refund/deliver": {
            "post": {
                "summary": "退货快递单信息提交",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CustomerRefundDeliverySubmitRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/customer/refund/info": {
            "get": {
                "summary": "申请售后申请详情",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.OrderRefundApplyView"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CustomerOrderRefundApplyInfoRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/customer/refund/query": {
            "get": {
                "summary": "申请售后申请列表",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.CustomerQueryOrderRefundAppliesResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CustomerQueryOrderRefundAppliesRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/customer/shelf": {
            "get": {
                "summary": "查看商城货架",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.GetCustomerShelfResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.GetCustomerShelfRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/customer/wechat/templates": {
            "get": {
                "summary": "获取商城业务的小程序模板消息",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.GetMallWechatTemplatesResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CustomerRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/schedule/retry/nsq": {
            "get": {
                "summary": "NSQ消息重试",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "limit",
                        "description": "重试条数",
                        "in": "query",
                        "required": false,
                        "type": "integer"
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/schedule/retry/order": {
            "post": {
                "summary": "订单定时任务（关闭订单 \u0026 自动确认收货）",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.google.protobuf.Empty"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/web/config": {
            "get": {
                "summary": "查看商城配置",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.GetMallConfigResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CommonRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            },
            "post": {
                "summary": "开通商城",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CreateMallConfigRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            },
            "put": {
                "summary": "商城配置修改",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.UpdateMallConfigRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/web/decoration": {
            "get": {
                "summary": "查看商城装修",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.GetMallDecorationResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CommonRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            },
            "post": {
                "summary": "修改商城装修",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.UpdateMallDecorationRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/web/order/{order_number}": {
            "get": {
                "summary": "商家查看订单详情",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.MerchantGetMallOrderDetailResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CommonOrderRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            },
            "post": {
                "summary": "商家取消未发货订单",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.MerchantCancelOrderRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/web/orders/{category}": {
            "get": {
                "summary": "商家查看订单列表",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.MerchantGetMallOrdersResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.MerchantGetMallOrdersRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/web/refund/{apply_number}": {
            "get": {
                "summary": "商家视角退款申请详情",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.MerchantGetRefundResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.MerchantGetRefundRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            },
            "post": {
                "summary": "商家审核退款申请列表操作",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.MerchantOperateRefundApplyRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            },
            "put": {
                "summary": "商家退款失败重试",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.MerchantRetryRefundRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/web/refunds": {
            "post": {
                "summary": "商家视角退款申请列表",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.MerchantQueryRefundsResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.MerchantQueryRefundsRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/web/shelf/batch/group": {
            "delete": {
                "summary": "货架分组批量移除多个货架商品",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.ShelfProdsBatchRemovesGroupRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            },
            "post": {
                "summary": "批量对多个商品追加多个分组",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.ShelfProdsBatchAddGroupsRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/web/shelf/batch/price": {
            "post": {
                "summary": "批量修改商品价格",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.ShelfProdsBatchPriceRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/web/shelf/batch/status": {
            "post": {
                "summary": "批量上下架",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.BatchShelfProdsWithStatusRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/web/shelf/group/list": {
            "get": {
                "summary": "查看货架分组列表",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.GetShelfGroupsResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CommonRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            },
            "delete": {
                "summary": "删除货架分组",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CommonObjectRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            },
            "post": {
                "summary": "新建货架分组",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CreateShelfGroupRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            },
            "put": {
                "summary": "编辑货架分组名称",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.UpdateShelfGroupRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/web/shelf/group/sort": {
            "post": {
                "summary": "货架分组排序",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.ShelfGroupSortRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/web/shelf/import": {
            "get": {
                "summary": "导入供货组/商品库商品下拉框",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.QueryProdsExcludeShelfResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.QueryProdsExcludeShelfRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/web/shelf/list": {
            "get": {
                "summary": "查看货架商品",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.ShelfProdsQueryResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.ShelfProdsQueryRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            },
            "delete": {
                "summary": "删除商品(支持批量)",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.ShelfProdsDeleteRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            },
            "post": {
                "summary": "批量导入/创建商品到货架",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.BatchShelfProdsWithStatusRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/web/shelf/prod": {
            "get": {
                "summary": "查看商品详情",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.GetSingleProdDetailResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CommonObject64Request"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            },
            "post": {
                "summary": "修改商品详情",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.UpdateSingleProdRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/mall/web/shelf/prod-types": {
            "get": {
                "summary": "查看商城货架类别存量可选列表下拉框",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.ShelfProdTypesResp"
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "body",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/.mall.CommonRequest"
                        }
                    }
                ],
                "tags": [
                    "mall.Mall"
                ]
            }
        },
        "/ping": {
            "get": {
                "summary": "健康检查",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "schema": {
                            "$ref": "#/definitions/.mall.DefaultResp"
                        }
                    }
                },
                "tags": [
                    "mall.Mall"
                ]
            }
        }
    },
    "definitions": {
        ".google.protobuf.Empty": {
            "type": "object",
            "properties": {},
            "description": "A generic empty message that you can re-use to avoid defining duplicated\n empty messages in your APIs. A typical example is to use it as the request\n or the response type of an API method. For instance:\n\n     service Foo {\n       rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n     }\n\n The JSON representation for `Empty` is empty JSON object `{}`."
        },
        ".inventory.InventoryOrderUpdatePayload.DeliverMemo": {
            "type": "object",
            "properties": {
                "platform": {
                    "type": "string",
                    "description": "配送平台名称"
                },
                "platform_order_num": {
                    "type": "string",
                    "description": "配送单号"
                },
                "extract_key": {
                    "type": "string",
                    "description": "自提码"
                },
                "deadline_time": {
                    "type": "string",
                    "description": "今日截止自提时间，存在时返回YYYY-mm-dd HH:MM格式"
                },
                "pick_up_address": {
                    "type": "string",
                    "description": "自提地址"
                },
                "deliver_time": {
                    "type": "string",
                    "description": "发货时间，存在时返回YYYY-mm-dd HH:MM格式"
                },
                "prepare_time": {
                    "type": "string",
                    "description": "备货时间，存在时返回YYYY-mm-dd HH:MM格式"
                }
            }
        },
        ".mall.AddressInfo": {
            "type": "object",
            "properties": {
                "lat": {
                    "type": "number",
                    "format": "double",
                    "description": "纬度,latitude"
                },
                "lng": {
                    "type": "number",
                    "format": "double",
                    "description": "经度,longitude"
                },
                "city_code": {
                    "type": "string",
                    "description": "城市编码"
                },
                "contact": {
                    "type": "string",
                    "description": "收货人称呼"
                },
                "mobile": {
                    "type": "string",
                    "description": "收货人手机"
                },
                "address": {
                    "type": "string",
                    "description": "收货地址"
                }
            },
            "required": [
                "lat",
                "lng",
                "city_code",
                "contact",
                "mobile",
                "address"
            ]
        },
        ".mall.BatchShelfProdsWithStatusRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.WebToken",
                    "description": "token, http调用需要在header传入；rpc则可以直接包装对象"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部~0/门店ID"
                },
                "ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    },
                    "description": "商品id,unique"
                },
                "status": {
                    "type": "boolean",
                    "description": "商品当前上下架状态，true~上架，false~下架"
                },
                "from_menu": {
                    "type": "boolean",
                    "description": "商品是否来源于供货组"
                }
            },
            "description": "货架商品创建请求",
            "required": [
                "ids"
            ]
        },
        ".mall.CartProd": {
            "type": "object",
            "properties": {
                "prod_id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "sku_id": {
                    "type": "integer",
                    "description": "商品规格ID"
                },
                "prod_name": {
                    "type": "string",
                    "description": "商品名称"
                },
                "sku_name": {
                    "type": "string",
                    "description": "商品规格名称"
                },
                "store_id": {
                    "type": "integer",
                    "description": "商品从属（总部/店铺ID）"
                },
                "price": {
                    "type": "integer",
                    "description": "货架商品单价"
                },
                "quantity": {
                    "type": "integer",
                    "description": "商品数量"
                },
                "unit": {
                    "type": "string",
                    "description": "商品单位"
                },
                "pic": {
                    "type": "string",
                    "description": "商品主图"
                },
                "status": {
                    "type": "boolean",
                    "description": "商品上下架状态"
                },
                "weight": {
                    "type": "integer",
                    "description": "商品重量(单位：克)"
                },
                "store_name": {
                    "type": "string",
                    "description": "品牌/门店名称快照"
                }
            }
        },
        ".mall.CombinePayOrder": {
            "type": "object",
            "properties": {
                "delivery_type": {
                    "type": "integer",
                    "description": "当前订单配送模式，0~自提，1~同城，2~异地，3~无需配送"
                },
                "warehouse_name": {
                    "type": "string",
                    "description": "发货仓名称"
                },
                "trans": {
                    "type": "integer",
                    "description": "订单分摊应付金额"
                },
                "prod_count": {
                    "type": "integer",
                    "description": "订单商品个数"
                }
            }
        },
        ".mall.CommonObject64Request": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.WebToken",
                    "description": "token, http调用需要在header传入；rpc则可以直接包装对象"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "对象ID"
                }
            },
            "required": [
                "id"
            ]
        },
        ".mall.CommonObjectRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.WebToken",
                    "description": "token, http调用需要在header传入；rpc则可以直接包装对象"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "对象ID"
                }
            },
            "required": [
                "id"
            ]
        },
        ".mall.CommonOrderRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.WebToken",
                    "description": "token, http调用需要在header传入；rpc则可以直接包装对象"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "order_number": {
                    "type": "string",
                    "description": "订单号"
                }
            },
            "required": [
                "order_number"
            ]
        },
        ".mall.CommonRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.WebToken",
                    "description": "token, http调用需要在header传入；rpc则可以直接包装对象"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                }
            }
        },
        ".mall.CommonRetryRequest": {
            "type": "object",
            "properties": {
                "limit": {
                    "type": "integer",
                    "description": "重试条数"
                }
            }
        },
        ".mall.CreateCombinePayRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.CustomerToken",
                    "description": "用户token"
                },
                "request_id": {
                    "type": "string",
                    "description": "组合请求号"
                },
                "balance_pay": {
                    "type": "boolean",
                    "description": "是否会员支付"
                }
            },
            "description": "创建组合支付单请求",
            "required": [
                "request_id"
            ]
        },
        ".mall.CreateMallConfigRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.WebToken",
                    "description": "token"
                },
                "operation_mode": {
                    "type": "string",
                    "description": "运营模式：self~自营，agent~经销商，platform~门店专场模式"
                },
                "allow_booking": {
                    "type": "boolean",
                    "description": "是否允许预约，false~不允许，true~允许"
                },
                "booking_days": {
                    "type": "integer",
                    "description": "最多提前x天预约，精确到日,max=30"
                },
                "auto_confirmed_days": {
                    "type": "integer",
                    "description": "发货后自动触发签收天数 15 \u003c= x \u003c= 30 0天表示发货后自动签收,min=15,max=30"
                },
                "refund_allowed_days": {
                    "type": "integer",
                    "description": "签收后可发起售后天数 7 \u003c= x \u003c= 90 最少保留7天无理由退货时间,min=7,max=90"
                },
                "inventory_mode": {
                    "type": "integer",
                    "description": "发货模式（仅经销商模式需要设置），参考枚举InventoryMode,in_enum"
                }
            },
            "required": [
                "operation_mode",
                "refund_allowed_days"
            ]
        },
        ".mall.CreateShelfGroupRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.WebToken",
                    "description": "token, http调用需要在header传入；rpc则可以直接包装对象"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部~0/门店ID"
                },
                "name": {
                    "type": "string",
                    "description": "分组名称,max=24"
                }
            },
            "description": "新建货架分组请求",
            "required": [
                "name"
            ]
        },
        ".mall.CustomSkuPrice": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "规格ID"
                },
                "custom_price": {
                    "type": "integer",
                    "description": "规格自定义价格(未开启自定义时，一定为0),max=9999999999"
                }
            },
            "required": [
                "id",
                "custom_price"
            ]
        },
        ".mall.CustomerDetailView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "string",
                    "description": "明细序号(营销咨询使用)"
                },
                "prod_id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "prod_name": {
                    "type": "string",
                    "description": "商品名称"
                },
                "sku_id": {
                    "type": "integer",
                    "description": "规格ID"
                },
                "sku_name": {
                    "type": "string",
                    "description": "规格名称"
                },
                "pic": {
                    "type": "string",
                    "description": "商品首图"
                },
                "quantity": {
                    "type": "integer",
                    "description": "商品下单份数(商品份数\u003e已退份数时，可以继续申请售后)"
                },
                "price": {
                    "type": "number",
                    "format": "double",
                    "description": "商品单价"
                },
                "refund_quantity": {
                    "type": "integer",
                    "description": "已退份数"
                },
                "can_refund": {
                    "type": "integer",
                    "description": "剩余可退金额（此字段不能展示到前端，在营销未分摊完毕时统一返回0，此时只能整单取消；有值时，明细退款金额不能超过此值）"
                },
                "refunds": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.CustomerSimpleRefundView"
                    },
                    "description": "退货单"
                }
            }
        },
        ".mall.CustomerDiscountView": {
            "type": "object",
            "properties": {
                "name": {
                    "type": "string",
                    "description": "活动名称"
                },
                "discount": {
                    "type": "number",
                    "format": "double",
                    "description": "优惠金额"
                }
            }
        },
        ".mall.CustomerOrderInfoResp": {
            "type": "object",
            "properties": {
                "order_number": {
                    "type": "string",
                    "description": "商城订单号"
                },
                "request_id": {
                    "type": "string",
                    "description": "组合支付请求号"
                },
                "submit_time": {
                    "type": "string",
                    "description": "下单时间"
                },
                "delivery_type": {
                    "type": "integer",
                    "description": "当前订单配送模式，0~自提，1~同城，2~异地，3~展示为商家配送"
                },
                "warehouse_id": {
                    "type": "integer",
                    "description": "发货仓id"
                },
                "warehouse_name": {
                    "type": "string",
                    "description": "发货仓名称"
                },
                "status": {
                    "type": "integer",
                    "description": "虚拟状态枚举 ~ MallCustomerStatus"
                },
                "status_desc": {
                    "type": "string",
                    "description": "虚拟状态描述"
                },
                "expire_time": {
                    "type": "string",
                    "description": "订单过期时间"
                },
                "booking_valid_time": {
                    "type": "string",
                    "description": "预约自提/发货日期 (仅选择了预约日期时返回)"
                },
                "delivery_fee": {
                    "type": "integer",
                    "description": "配送费"
                },
                "details": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.CustomerDetailView"
                    },
                    "description": "明细列表"
                },
                "discounts": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.CustomerDiscountView"
                    },
                    "description": "优惠明细（由于营销异步，存在不返回的可能性；此时如果discount\u003e0，需要用订单号去查询促销组件）"
                },
                "address_info": {
                    "$ref": "#/definitions/.mall.AddressInfo",
                    "description": "收货地址信息对象 自提时不返回"
                },
                "delivery_info": {
                    "$ref": "#/definitions/.mall.DeliveryInfo",
                    "description": "配送信息 自提\u0026待付款时不返回"
                },
                "refund_deadline": {
                    "type": "string",
                    "description": "售后截止日期超过后，可以根据产品设计自动报错或者屏蔽按钮，YYYY-mm-dd"
                },
                "pick_up_info": {
                    "$ref": "#/definitions/.mall.PickUpInfo",
                    "description": "自提信息(配送不返回)"
                },
                "total": {
                    "type": "integer",
                    "description": "商品总额（含配送费）"
                },
                "discount": {
                    "type": "integer",
                    "description": "优惠总额"
                },
                "trans": {
                    "type": "integer",
                    "description": "应付金额(优惠未返回时，需要包装一个累计优惠金额来展示)"
                },
                "pay_type_name": {
                    "type": "string",
                    "description": "支付方式"
                },
                "remark": {
                    "type": "string",
                    "description": "订单备注"
                },
                "sign_time": {
                    "type": "string",
                    "description": "订单签收时间，YYYY-mm-dd(退款有效天数可以用refund_deadline-sign_time来计算)"
                },
                "refunded": {
                    "type": "integer",
                    "description": "已退金额"
                }
            },
            "description": "订单详情返回"
        },
        ".mall.CustomerOrderQueryRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.CustomerToken",
                    "description": "用户token"
                },
                "category": {
                    "type": "integer",
                    "description": "0~全部 1~待付款 2~待备货/待发货 3~待提货/待签收（售后走独立接口）,in_enum"
                },
                "query": {
                    "type": "string",
                    "description": "商品名称关键字"
                },
                "page_no": {
                    "type": "integer",
                    "description": "页码,min=1"
                },
                "page_size": {
                    "type": "integer",
                    "description": "每页数目(不超过10),min=1,max=100"
                }
            },
            "description": "订单分类列表请求",
            "required": [
                "query",
                "page_no",
                "page_size"
            ]
        },
        ".mall.CustomerOrderQueryResp": {
            "type": "object",
            "properties": {
                "orders": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.CustomerSimpleOrderView"
                    },
                    "description": "订单列表(基于创建顺序倒序)"
                }
            },
            "description": "订单分类列表返回"
        },
        ".mall.CustomerOrderRefundApplyInfoRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.CustomerToken",
                    "description": "用户token"
                },
                "apply_number": {
                    "type": "string",
                    "description": "申请单号"
                }
            },
            "description": "订单售后申请详情请求",
            "required": [
                "apply_number"
            ]
        },
        ".mall.CustomerOrderRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.CustomerToken",
                    "description": "用户token"
                },
                "order_number": {
                    "type": "string",
                    "description": "商城订单号"
                }
            },
            "description": "订单请求",
            "required": [
                "order_number"
            ]
        },
        ".mall.CustomerProd": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "name": {
                    "type": "string",
                    "description": "商品自定义名称"
                },
                "price_range": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    },
                    "description": "价格范围，形式[1000, 2000]，表示10元~20元，精确到分"
                },
                "title_pic": {
                    "type": "string",
                    "description": "主图"
                },
                "sales": {
                    "type": "integer",
                    "description": "商品月售数量(按日刷新)，0份建议不展示"
                },
                "has_properties": {
                    "type": "boolean",
                    "description": "是否启用规格/属性选框"
                },
                "groups": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.prod.ProdPropertyGroupView"
                    },
                    "description": "属性组列表"
                },
                "skus": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.prod.SkuView"
                    },
                    "description": "规格列表"
                }
            }
        },
        ".mall.CustomerQueryOrderRefundAppliesRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.CustomerToken",
                    "description": "用户token"
                },
                "page_no": {
                    "type": "integer",
                    "description": "页数,min=1"
                },
                "page_size": {
                    "type": "integer",
                    "description": "页码,min=1,max=100"
                }
            },
            "description": "订单售后申请列表请求",
            "required": [
                "page_no",
                "page_size"
            ]
        },
        ".mall.CustomerQueryOrderRefundAppliesResp": {
            "type": "object",
            "properties": {
                "applies": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.OrderRefundApplySimpleView"
                    },
                    "description": "售后列表"
                }
            },
            "description": "订单售后申请列表返回"
        },
        ".mall.CustomerRefundDeliverySubmitRequest": {
            "type": "object",
            "properties": {
                "apply_number": {
                    "type": "string",
                    "description": "申请单号"
                },
                "platform_no": {
                    "type": "string",
                    "description": "退货快递单号"
                },
                "platform_id": {
                    "type": "integer",
                    "description": "快递平台id"
                }
            },
            "description": "退货快递单提交请求",
            "required": [
                "apply_number",
                "platform_no",
                "platform_id"
            ]
        },
        ".mall.CustomerRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.CustomerToken",
                    "description": "用户token"
                }
            }
        },
        ".mall.CustomerSimpleDetailView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "明细ID"
                },
                "prod_name": {
                    "type": "string",
                    "description": "商品名称"
                },
                "sku_name": {
                    "type": "string",
                    "description": "规格名称"
                },
                "quantity": {
                    "type": "integer",
                    "description": "商品数量"
                },
                "trans": {
                    "type": "integer",
                    "description": "商品金额"
                },
                "pic": {
                    "type": "string",
                    "description": "商品首图"
                }
            }
        },
        ".mall.CustomerSimpleOrderView": {
            "type": "object",
            "properties": {
                "order_number": {
                    "type": "string",
                    "description": "商城订单号"
                },
                "request_id": {
                    "type": "string",
                    "description": "组合支付请求号"
                },
                "submit_time": {
                    "type": "string",
                    "description": "下单时间"
                },
                "delivery_type": {
                    "type": "integer",
                    "description": "订单配送模式 0~自提，1~同城，2~异地, 3~无需配送"
                },
                "warehouse_name": {
                    "type": "string",
                    "description": "发货仓名称"
                },
                "status": {
                    "type": "integer",
                    "description": "C端订单状态 ~ MallCustomerStatus"
                },
                "status_desc": {
                    "type": "string",
                    "description": "C端状态描述"
                },
                "expire_time": {
                    "type": "string",
                    "description": "订单过期时间(仅待支付订单返回)"
                },
                "pick_up_code": {
                    "type": "string",
                    "description": "取件码(仅待提货返回)"
                },
                "trans": {
                    "type": "number",
                    "format": "double",
                    "description": "订单应付\u0026实付金额"
                },
                "details": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.CustomerSimpleDetailView"
                    },
                    "description": "简要明细列表"
                }
            }
        },
        ".mall.CustomerSimpleRefundView": {
            "type": "object",
            "properties": {
                "apply_number": {
                    "type": "string",
                    "description": "售后单号"
                },
                "status": {
                    "type": "integer",
                    "description": "售后单状态 ~ MallCustomerRefundStatus"
                },
                "refund_amount": {
                    "type": "integer",
                    "description": "售后金额"
                },
                "platform_order_no": {
                    "type": "string",
                    "description": "售后退货单号"
                },
                "platform_name": {
                    "type": "string",
                    "description": "退货平台名称"
                }
            }
        },
        ".mall.CustomerStoreRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.CustomerToken",
                    "description": "用户token"
                },
                "id": {
                    "type": "integer",
                    "description": "自营栏目~0 门店栏目~门店ID"
                }
            }
        },
        ".mall.CustomerToken": {
            "type": "object",
            "properties": {
                "member_id": {
                    "type": "integer",
                    "description": "会员ID"
                },
                "brand_id": {
                    "type": "integer",
                    "description": "品牌ID"
                },
                "app_id": {
                    "type": "string",
                    "description": "平台服务ID"
                },
                "open_id": {
                    "type": "string",
                    "description": "平台用户ID"
                },
                "bilin_app": {
                    "type": "string",
                    "description": "平台枚举类型值"
                }
            },
            "description": "customer token 标准结构",
            "required": [
                "member_id",
                "brand_id",
                "app_id",
                "open_id",
                "bilin_app"
            ]
        },
        ".mall.DefaultResp": {
            "type": "object",
            "properties": {
                "status": {
                    "type": "boolean",
                    "description": "请求是否成功"
                },
                "error_code": {
                    "type": "string",
                    "description": "细粒度业务错误码，一般仅用于判定业务错误特定分支，如果不判定可以简易将此时的error_message展示给前端；其他类别时error_code为锁定字段\nInvalidArgument~BAD_REQUEST；AuthenticatedError~Unauthenticated； UserCancelled~USER_CANCELLED；SystemError~SYSTEM_ERROR"
                },
                "error_message": {
                    "type": "string",
                    "description": "错误描述"
                },
                "error_type": {
                    "type": "string",
                    "description": "错误类型: InvalidArgument~参数错误；AuthenticatedError~身份验证错误；BizError~业务错误；UserCancelled~调用方取消；SystemError~系统错误"
                }
            },
            "description": "标准返回结构"
        },
        ".mall.DeliverStoreResp": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "代发门店ID（0~总部代发（走匹配总部仓库机制），其他~门店自行发送（获取门店配送信息））"
                }
            }
        },
        ".mall.DeliveryInfo": {
            "type": "object",
            "properties": {
                "platform_name": {
                    "type": "string",
                    "description": "配送平台名称"
                },
                "platform_no": {
                    "type": "string",
                    "description": "配送单号"
                },
                "auto_confirm_time": {
                    "type": "string",
                    "description": "预计自动签收日期 （仅待签收返回），YYYY-mm-dd"
                }
            }
        },
        ".mall.GenCustomerRequestIdResp": {
            "type": "object",
            "properties": {
                "request_id": {
                    "type": "string"
                }
            },
            "description": "requestId生成返回"
        },
        ".mall.GetCustomerCartResp": {
            "type": "object",
            "properties": {
                "cart_prods": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.CartProd"
                    },
                    "description": "购物车商品列表"
                }
            },
            "description": "购物车内容返回"
        },
        ".mall.GetCustomerGroupsResp": {
            "type": "object",
            "properties": {
                "groups": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.GroupSimpleView"
                    },
                    "description": "分组列表"
                }
            },
            "description": "客户端查看商城商品分组返回"
        },
        ".mall.GetCustomerOrderCombineRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.CustomerToken",
                    "description": "用户token"
                },
                "request_id": {
                    "type": "string",
                    "description": "组合请求号"
                }
            },
            "required": [
                "request_id"
            ]
        },
        ".mall.GetCustomerOrderCombineResp": {
            "type": "object",
            "properties": {
                "count": {
                    "type": "integer",
                    "description": "组合订单笔数"
                },
                "trans": {
                    "type": "integer",
                    "description": "应付总额"
                },
                "orders": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.CombinePayOrder"
                    },
                    "description": "订单列表"
                },
                "pay_method": {
                    "type": "integer",
                    "description": "当前已选定的支付方式"
                }
            }
        },
        ".mall.GetCustomerProdRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.CustomerToken",
                    "description": "用户token"
                },
                "prod_id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "id": {
                    "type": "integer",
                    "description": "货架ID(总部/门店ID)"
                }
            },
            "description": "客户端查看商城商品详情请求",
            "required": [
                "prod_id"
            ]
        },
        ".mall.GetCustomerProdResp": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "name": {
                    "type": "string",
                    "description": "商品自定义名称"
                },
                "price_range": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    },
                    "description": "价格范围，形式[1000, 2000]，表示10元~20元，精确到分"
                },
                "sales": {
                    "type": "integer",
                    "description": "商品月售数量(按日刷新)，0份建议不展示"
                },
                "has_properties": {
                    "type": "boolean",
                    "description": "是否启用规格/属性选框"
                },
                "unit": {
                    "type": "string",
                    "description": "零售单位"
                },
                "title_pics": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "主图列表"
                },
                "detail_pics": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "明细图片列表"
                },
                "detail_description": {
                    "type": "string",
                    "description": "明细描述"
                },
                "groups": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.prod.ProdPropertyGroupView"
                    },
                    "description": "属性组列表"
                },
                "skus": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.prod.SkuView"
                    },
                    "description": "规格列表"
                },
                "nature": {
                    "type": "integer",
                    "description": "商品类型"
                },
                "status": {
                    "type": "boolean",
                    "description": "是否上下架"
                }
            },
            "description": "客户端查看商城商品详情返回"
        },
        ".mall.GetCustomerShelfRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.CustomerToken",
                    "description": "用户token"
                },
                "id": {
                    "type": "integer",
                    "description": "总部栏目~0 门店栏目~门店ID"
                },
                "group_id": {
                    "type": "integer",
                    "description": "分组ID（为空时视为全部模式）"
                },
                "query": {
                    "type": "string",
                    "description": "商品名称关键字"
                },
                "page_no": {
                    "type": "integer",
                    "description": "页码,min=1"
                },
                "page_size": {
                    "type": "integer",
                    "description": "商品名称关键字,min=1,max=100"
                }
            },
            "description": "客户端查看商城货架请求",
            "required": [
                "page_no",
                "page_size"
            ]
        },
        ".mall.GetCustomerShelfResp": {
            "type": "object",
            "properties": {
                "total": {
                    "type": "integer",
                    "description": "商品总数"
                },
                "prods": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.CustomerProd"
                    },
                    "description": "商品列表"
                }
            },
            "description": "客户端查看商城货架返回"
        },
        ".mall.GetMallConfigResp": {
            "type": "object",
            "properties": {
                "operation_mode": {
                    "type": "string",
                    "description": "运营模式：self~自营，agent~经销商，platform~门店专场模式"
                },
                "allow_booking": {
                    "type": "boolean",
                    "description": "是否允许预约，false~不允许，true~允许"
                },
                "booking_days": {
                    "type": "integer",
                    "description": "最多提前x天预约，精确到日 0 \u003c x \u003c= 30"
                },
                "auto_confirmed_days": {
                    "type": "integer",
                    "description": "发货后自动触发签收天数 15 \u003c= x \u003c= 30 0天表示发货后自动签收"
                },
                "refund_allowed_days": {
                    "type": "integer",
                    "description": "签收后可发起售后天数 7 \u003c= x \u003c= 90 最少保留7天无理由退货时间"
                },
                "inventory_mode": {
                    "type": "integer",
                    "description": "发货模式（仅经销商模式需要设置），参考枚举InventoryMode"
                },
                "stores": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.StoreSimpleView"
                    },
                    "description": "关联店铺列表（仅经销商模式+部分店铺自行发货时需要设置）"
                }
            },
            "description": "商城配置信息返回"
        },
        ".mall.GetMallDecorationResp": {
            "type": "object",
            "properties": {
                "decoration_info": {
                    "type": "string",
                    "description": "装修大字段(透传)"
                },
                "prods": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.SimpleMallProdView"
                    },
                    "description": "商品ID序列"
                }
            }
        },
        ".mall.GetMallMainPageRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.CustomerToken",
                    "description": "用户token"
                },
                "latitude": {
                    "type": "number",
                    "format": "double",
                    "description": "纬度,latitude"
                },
                "longitude": {
                    "type": "number",
                    "format": "double",
                    "description": "经度,longitude"
                }
            },
            "required": [
                "latitude",
                "longitude"
            ]
        },
        ".mall.GetMallMainPageResp": {
            "type": "object",
            "properties": {
                "operation_mode": {
                    "type": "integer",
                    "description": "运营模式：1~品牌统一管理商品，2~门店专场模式"
                },
                "allow_booking": {
                    "type": "boolean",
                    "description": "是否允许预约，false~不允许，true~允许"
                },
                "booking_days": {
                    "type": "integer",
                    "description": "最多提前x天预约，精确到日 0 \u003c x \u003c= 30"
                },
                "pages": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.StoreSimpleView"
                    },
                    "description": "服务范围内的门店列表（平台模式返回由近到远的列表，自营/经销商模式返回服务范围内的唯一数据（品牌直营时id为0），空列表为没有服务范围的店铺）"
                }
            },
            "description": "查看商城首页"
        },
        ".mall.GetMallPageResp": {
            "type": "object",
            "properties": {
                "decoration_info": {
                    "type": "string",
                    "description": "商城装修大字段"
                },
                "prods": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.CustomerProd"
                    },
                    "description": "商品详情序列(包含装修大字段中已上架部分+门店页面部分)"
                },
                "page_name": {
                    "type": "string",
                    "description": "专场名称(品牌名/门店名)"
                }
            }
        },
        ".mall.GetMallWechatTemplatesResp": {
            "type": "object",
            "properties": {
                "template_ids": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                }
            }
        },
        ".mall.GetShelfGroupsResp": {
            "type": "object",
            "properties": {
                "groups": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.GroupSimpleView"
                    },
                    "description": "groups"
                }
            },
            "description": "查看货架分组列表返回"
        },
        ".mall.GetSingleProdDetailResp": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "custom_name": {
                    "type": "string",
                    "description": "商品自定义名称"
                },
                "groups": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.GroupSimpleView"
                    },
                    "description": "分组名称列表"
                },
                "status": {
                    "type": "boolean",
                    "description": "商品上下架状态，true~上架，false~下架"
                },
                "skus": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.CustomSkuPrice"
                    },
                    "description": "自定义价格规格列表（有自定义时返回，无自定义时为空列表）"
                },
                "prod_info": {
                    "$ref": "#/definitions/.prod.ProdView",
                    "description": "商品库商品详情"
                }
            },
            "description": "查看商品详情返回"
        },
        ".mall.GroupSimpleView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "分组ID"
                },
                "name": {
                    "type": "string",
                    "description": "分组名称"
                }
            }
        },
        ".mall.MallWebDetailSimpleView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "明细ID"
                },
                "prod_id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "sku_id": {
                    "type": "integer",
                    "description": "规格ID"
                },
                "prod_name": {
                    "type": "string",
                    "description": "商品名称"
                },
                "sku_name": {
                    "type": "string",
                    "description": "规格名称"
                },
                "price": {
                    "type": "integer",
                    "description": "单价"
                },
                "quantity": {
                    "type": "integer",
                    "description": "数量"
                },
                "title_pic": {
                    "type": "string",
                    "description": "图片"
                }
            }
        },
        ".mall.MallWebOrderSimpleView": {
            "type": "object",
            "properties": {
                "order_number": {
                    "type": "string",
                    "description": "订单号"
                },
                "creator": {
                    "type": "string",
                    "description": "下单人/手机号"
                },
                "submit_time": {
                    "type": "string",
                    "description": "下单时间"
                },
                "trans": {
                    "type": "integer",
                    "description": "实付金额"
                },
                "deliver_fee": {
                    "type": "integer",
                    "description": "实付金额"
                },
                "warehouse_id": {
                    "type": "integer",
                    "description": "发货仓ID"
                },
                "warehouse_name": {
                    "type": "string",
                    "description": "发货仓名称"
                },
                "deliver_type": {
                    "type": "integer",
                    "description": "配送类型，0~自提，1~同城，2~异地，3~商家配送"
                },
                "status": {
                    "type": "integer",
                    "description": "订单状态 ~ 参考枚举MallWebOrderStatus"
                },
                "refund_flag": {
                    "type": "boolean",
                    "description": "是否存在未关闭的退款申请（true~前端据此展示跳转退款列表按钮）"
                },
                "storage_status": {
                    "type": "integer",
                    "description": "库存状态 0~充足，1~不足，2~不足并已通知"
                },
                "details": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.MallWebDetailSimpleView"
                    },
                    "description": "明细简要列表"
                }
            }
        },
        ".mall.MallWebRefundDetailSimpleView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "明细ID"
                },
                "prod_id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "sku_id": {
                    "type": "integer",
                    "description": "规格ID"
                },
                "prod_name": {
                    "type": "string",
                    "description": "商品名称"
                },
                "sku_name": {
                    "type": "string",
                    "description": "规格名称"
                },
                "price": {
                    "type": "integer",
                    "description": "单价"
                },
                "quantity": {
                    "type": "integer",
                    "description": "数量"
                },
                "title_pic": {
                    "type": "string",
                    "description": "图片"
                }
            }
        },
        ".mall.MallWebRefundSimpleView": {
            "type": "object",
            "properties": {
                "apply_number": {
                    "type": "string",
                    "description": "申请号"
                },
                "order_number": {
                    "type": "string",
                    "description": "关联订单号"
                },
                "apply_time": {
                    "type": "string",
                    "description": "申请时间"
                },
                "type": {
                    "type": "integer",
                    "description": "申请类型 下拉框，1~仅退款，2~退货退款，3~整单取消"
                },
                "amount": {
                    "type": "integer",
                    "description": "退款申请金额"
                },
                "status": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    },
                    "description": "申请单状态~ MallWebRefundStatus"
                },
                "details": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.MallWebRefundDetailSimpleView"
                    },
                    "description": "申请明细"
                }
            }
        },
        ".mall.MerchantCancelOrderRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.WebToken",
                    "description": "token, http调用需要在header传入；rpc则可以直接包装对象"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部~0/门店ID"
                },
                "order_number": {
                    "type": "string",
                    "description": "订单号"
                },
                "reason": {
                    "type": "string",
                    "description": "取消原因,max=100"
                }
            },
            "required": [
                "order_number",
                "reason"
            ]
        },
        ".mall.MerchantGetMallOrderDetailResp": {
            "type": "object",
            "properties": {
                "order_number": {
                    "type": "string",
                    "description": "订单号"
                },
                "deliver_type": {
                    "type": "integer",
                    "description": "配送类型，0~自提，1~同城，2~异地，3~商家配送"
                },
                "status": {
                    "type": "integer",
                    "description": "订单状态 ~ 参考枚举MallWebOrderStatus"
                },
                "submit_time": {
                    "type": "string",
                    "description": "下单时间"
                },
                "pay_order_number": {
                    "type": "string",
                    "description": "支付单号"
                },
                "warehouse_id": {
                    "type": "integer",
                    "description": "仓库ID"
                },
                "warehouse_name": {
                    "type": "string",
                    "description": "发货仓名称"
                },
                "member_id": {
                    "type": "string",
                    "description": "下单会员ID"
                },
                "creator": {
                    "type": "string",
                    "description": "下单人/手机号"
                },
                "receiver": {
                    "type": "string",
                    "description": "收货人/手机号"
                },
                "address": {
                    "type": "string",
                    "description": "收货地址"
                },
                "booking_date": {
                    "type": "string",
                    "description": "预约自提/发货日期"
                },
                "deliver_memo": {
                    "$ref": "#/definitions/.inventory.InventoryOrderUpdatePayload.DeliverMemo",
                    "description": "配送信息"
                },
                "pay_type_name": {
                    "type": "string",
                    "description": "支付方式名称"
                },
                "remark": {
                    "$ref": "#/definitions/.mall.MerchantOrderRemark",
                    "description": "订单备注相关"
                },
                "details": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.MerchantOrderDetail"
                    },
                    "description": "订单明细"
                },
                "discounts": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.MerchantOrderDiscounts"
                    },
                    "description": "优惠明细"
                },
                "total": {
                    "type": "integer",
                    "description": "商品总额"
                },
                "deliver_fee": {
                    "type": "integer",
                    "description": "配送费"
                },
                "discount": {
                    "type": "integer",
                    "description": "累计优惠金额"
                },
                "trans": {
                    "type": "integer",
                    "description": "实付金额"
                },
                "refund_flag": {
                    "type": "boolean",
                    "description": "是否存在未关闭的退款申请（true~前端据此展示跳转退款列表按钮）"
                }
            },
            "description": "商家查看订单详情返回"
        },
        ".mall.MerchantGetMallOrdersRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.WebToken",
                    "description": "token, http调用需要在header传入；rpc则可以直接包装对象"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部~0/门店ID"
                },
                "category": {
                    "type": "string",
                    "description": "all ~ 全部 applying ~退款申请中,oneof=all applying"
                },
                "start_date": {
                    "type": "string",
                    "description": "下单日期左边界,datetime"
                },
                "end_date": {
                    "type": "string",
                    "description": "下单日期右边界,datetime"
                },
                "status": {
                    "type": "integer",
                    "description": "状态下拉框 ~ 参考枚举MallWebOrderStatus,in_enum"
                },
                "keyword_order_no": {
                    "type": "string",
                    "description": "订单编号关键字"
                },
                "query_member_type": {
                    "type": "integer",
                    "description": "会员查询枚举"
                },
                "query_member_value": {
                    "type": "string",
                    "description": "下单人/手机号关键字"
                },
                "warehouse_id": {
                    "type": "integer",
                    "description": "发货仓ID，不传时查询所有发货仓"
                },
                "page_no": {
                    "type": "integer",
                    "description": "页码,min=1"
                },
                "page_size": {
                    "type": "integer",
                    "description": "每页数目(不超过100),min=1,max=100"
                }
            },
            "description": "商家查看订单列表请求",
            "required": [
                "category",
                "start_date",
                "end_date",
                "page_no",
                "page_size"
            ]
        },
        ".mall.MerchantGetMallOrdersResp": {
            "type": "object",
            "properties": {
                "total": {
                    "type": "integer",
                    "description": "总订单条数"
                },
                "orders": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.MallWebOrderSimpleView"
                    },
                    "description": "订单列表"
                }
            },
            "description": "商家查看订单列表返回"
        },
        ".mall.MerchantGetRefundRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.WebToken",
                    "description": "token, http调用需要在header传入；rpc则可以直接包装对象"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "apply_number": {
                    "type": "string",
                    "description": "申请号"
                }
            },
            "required": [
                "apply_number"
            ]
        },
        ".mall.MerchantGetRefundResp": {
            "type": "object",
            "properties": {
                "apply_number": {
                    "type": "string",
                    "description": "退款申请号"
                },
                "order_number": {
                    "type": "string",
                    "description": "关联订单号"
                },
                "apply_time": {
                    "type": "string",
                    "description": "申请时间"
                },
                "type": {
                    "type": "integer",
                    "description": "申请类型 1~仅退款，2~退货退款，3~整单取消"
                },
                "amount": {
                    "type": "integer",
                    "description": "退款申请金额"
                },
                "status": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    },
                    "description": "申请单状态~ MallWebRefundStatus"
                },
                "contact": {
                    "type": "string",
                    "description": "退货人：收货人/手机号"
                },
                "remark": {
                    "$ref": "#/definitions/.mall.RefundRemark",
                    "description": "退款备注"
                },
                "details": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.OrderRefundDetail"
                    },
                    "description": "明细"
                }
            },
            "description": "商家查看退款申请返回"
        },
        ".mall.MerchantOperateRefundApplyRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.WebToken",
                    "description": "token, http调用需要在header传入；rpc则可以直接包装对象"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部~0/门店ID"
                },
                "apply_number": {
                    "type": "string",
                    "description": "申请单号"
                },
                "approve": {
                    "type": "boolean",
                    "description": "是否通过"
                },
                "reason": {
                    "type": "string",
                    "description": "退款拒绝原因,max:100"
                }
            },
            "required": [
                "apply_number"
            ]
        },
        ".mall.MerchantOrderDetail": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "明细ID"
                },
                "index": {
                    "type": "integer",
                    "description": "明细序号(营销咨询使用)"
                },
                "prod_id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "sku_id": {
                    "type": "integer",
                    "description": "规格ID"
                },
                "prod_name": {
                    "type": "string",
                    "description": "商品名称"
                },
                "sku_name": {
                    "type": "string",
                    "description": "规格名称"
                },
                "pic": {
                    "type": "string",
                    "description": "商品图片"
                },
                "quantity": {
                    "type": "integer",
                    "description": "商品下单份数"
                },
                "price": {
                    "type": "integer",
                    "description": "商品下单单价"
                },
                "discount": {
                    "type": "integer",
                    "description": "优惠金额"
                },
                "trans": {
                    "type": "integer",
                    "description": "分摊实付总额"
                },
                "storage_status": {
                    "type": "integer",
                    "description": "库存状态 0~充足，1~不足，2~不足并已通知"
                }
            },
            "description": "订单详情明细结构"
        },
        ".mall.MerchantOrderDiscounts": {
            "type": "object",
            "properties": {
                "name": {
                    "type": "string",
                    "description": "活动名称"
                },
                "discount": {
                    "type": "integer",
                    "description": "活动金额"
                }
            },
            "description": "订单优惠明细"
        },
        ".mall.MerchantOrderRemark": {
            "type": "object",
            "properties": {
                "memo": {
                    "type": "string",
                    "description": "用户留言"
                },
                "reason": {
                    "type": "string",
                    "description": "关闭原因"
                }
            },
            "description": "订单详情备注结构"
        },
        ".mall.MerchantQueryRefundsRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.WebToken",
                    "description": "token, http调用需要在header传入；rpc则可以直接包装对象"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部~0/门店ID"
                },
                "status": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    },
                    "description": "选传状态下拉框，支持多选，逗号分隔，~ MallWebRefundStatus,dive,in_enum"
                },
                "type": {
                    "type": "integer",
                    "description": "申请类型 下拉框，1~仅退款，2~退货退款，3~整单取消,in_enum"
                },
                "order_no": {
                    "type": "string",
                    "description": "完整订单编号（用于跳转）"
                },
                "apply_no": {
                    "type": "string",
                    "description": "退款申请单号"
                },
                "start_date": {
                    "type": "string",
                    "description": "起始时间,datetime"
                },
                "end_date": {
                    "type": "string",
                    "description": "截止时间,datetime"
                },
                "page_no": {
                    "type": "integer",
                    "description": "页数,min=1"
                },
                "page_size": {
                    "type": "integer",
                    "description": "页码,min=1,max=100"
                }
            },
            "description": "商家查看退款申请列表请求",
            "required": [
                "start_date",
                "end_date",
                "page_no",
                "page_size"
            ]
        },
        ".mall.MerchantQueryRefundsResp": {
            "type": "object",
            "properties": {
                "total": {
                    "type": "integer",
                    "description": "总数"
                },
                "applies": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.MallWebRefundSimpleView"
                    },
                    "description": "售后列表"
                }
            },
            "description": "商家查看退款申请列表返回"
        },
        ".mall.MerchantRetryRefundRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.WebToken",
                    "description": "token, http调用需要在header传入；rpc则可以直接包装对象"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部~0/门店ID"
                },
                "apply_number": {
                    "type": "string",
                    "description": "申请单号"
                },
                "marked": {
                    "type": "boolean",
                    "description": "是否跳过第三方请求，直接标记协商成功"
                }
            },
            "required": [
                "apply_number"
            ]
        },
        ".mall.ModifyCartRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.CustomerToken",
                    "description": "用户token"
                },
                "prod_id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "sku_id": {
                    "type": "integer",
                    "description": "规格ID"
                },
                "store_id": {
                    "type": "integer",
                    "description": "商品从属（总部/店铺ID）"
                },
                "quantity": {
                    "type": "integer",
                    "description": "商品希望被变更为的数量，0时表示删除"
                },
                "store_name": {
                    "type": "string",
                    "description": "品牌/门店名称快照"
                }
            },
            "description": "修改购物车请求",
            "required": [
                "prod_id",
                "sku_id",
                "store_name"
            ]
        },
        ".mall.OrderCombineCreateRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.CustomerToken",
                    "description": "用户token"
                },
                "request_id": {
                    "type": "string",
                    "description": "组合请求号"
                },
                "address_info": {
                    "$ref": "#/definitions/.mall.AddressInfo",
                    "description": "收货地址信息对象（全自提可以不传入）"
                },
                "orders": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.Package"
                    },
                    "description": "订单列表,min=1,max=100,dive"
                },
                "pay_p_store_id": {
                    "type": "integer",
                    "description": "付费账户来源ID(总部/门店ID)"
                },
                "card_info": {
                    "type": "string",
                    "description": "卡信息（非会员可传{}，会员侧卡信息大字段）"
                },
                "balance_pay": {
                    "type": "boolean",
                    "description": "是否会员支付"
                }
            },
            "description": "组合下单请求",
            "required": [
                "request_id",
                "orders"
            ]
        },
        ".mall.OrderDetail": {
            "type": "object",
            "properties": {
                "prod_id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "sku_id": {
                    "type": "integer",
                    "description": "规格ID"
                },
                "quantity": {
                    "type": "integer",
                    "description": "商品数量"
                },
                "memo": {
                    "type": "string",
                    "description": "商品备注信息"
                },
                "origin": {
                    "type": "integer",
                    "description": "商品货架原始价格(用于快速排查定位价格变更)"
                }
            },
            "required": [
                "prod_id",
                "sku_id",
                "quantity"
            ]
        },
        ".mall.OrderRefundApplyRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.CustomerToken",
                    "description": "用户token"
                },
                "order_number": {
                    "type": "string",
                    "description": "商城订单号"
                },
                "type": {
                    "type": "integer",
                    "description": "申请类型 1~仅退款（发货后才能选），2~退货退款（发货后才能选，需要填退货单）3~整单取消,in_enum"
                },
                "remark": {
                    "type": "string",
                    "description": "申请备注,max=100"
                },
                "reason": {
                    "type": "string",
                    "description": "整单取消原因 （仅退款 \u0026 退货退款无需传入）,max=100"
                },
                "details": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.RefundApplyDetailReq"
                    },
                    "description": "退订单申请明细（整单取消无需明细）,dive,"
                }
            },
            "description": "订单售后申请请求",
            "required": [
                "order_number",
                "type",
                "details"
            ]
        },
        ".mall.OrderRefundApplyResp": {
            "type": "object",
            "properties": {
                "apply_number": {
                    "type": "string",
                    "description": "退款申请单号"
                }
            },
            "description": "订单售后申请返回"
        },
        ".mall.OrderRefundApplySimpleView": {
            "type": "object",
            "properties": {
                "apply_number": {
                    "type": "string",
                    "description": "退款申请单号"
                },
                "type": {
                    "type": "integer",
                    "description": "申请类型 1~仅退款（发货后才能选），2~退货退款（发货后才能选，需要填退货单）3~整单取消"
                },
                "order_number": {
                    "type": "string",
                    "description": "商城订单号"
                },
                "apply_time": {
                    "type": "string",
                    "description": "申请时间"
                },
                "warehouse_name": {
                    "type": "string",
                    "description": "退货目标仓库名称"
                },
                "status": {
                    "type": "integer",
                    "description": "申请单状态 ~ 参考枚举MallCustomerRefundStatus"
                },
                "status_desc": {
                    "type": "string",
                    "description": "申请单状态描述"
                },
                "trans": {
                    "type": "integer",
                    "description": "退款金额"
                },
                "details": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.RefundApplyDetailView"
                    },
                    "description": "关联明细列表"
                },
                "deliver_type": {
                    "type": "integer",
                    "description": "配送模式"
                }
            }
        },
        ".mall.OrderRefundApplyView": {
            "type": "object",
            "properties": {
                "apply_number": {
                    "type": "string",
                    "description": "退款申请单号"
                },
                "type": {
                    "type": "integer",
                    "description": "申请类型 1~仅退款（发货后才能选），2~退货退款（发货后才能选，需要填退货单）3~整单取消"
                },
                "order_number": {
                    "type": "string",
                    "description": "商城订单号"
                },
                "apply_time": {
                    "type": "string",
                    "description": "申请时间"
                },
                "warehouse_name": {
                    "type": "string",
                    "description": "退货目标仓库名称"
                },
                "status": {
                    "type": "integer",
                    "description": "申请单状态 ~ MallCustomerRefundStatus"
                },
                "status_desc": {
                    "type": "string",
                    "description": "申请单状态描述"
                },
                "trans": {
                    "type": "integer",
                    "description": "退款金额"
                },
                "details": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.RefundApplyDetailView"
                    },
                    "description": "关联明细列表"
                },
                "remark": {
                    "type": "string",
                    "description": "申请备注"
                },
                "reason": {
                    "type": "string",
                    "description": "整单取消原因 （仅退款 \u0026 退货退款为空字符）"
                },
                "address": {
                    "type": "string",
                    "description": "退货地址"
                },
                "contact": {
                    "type": "string",
                    "description": "退货联系人"
                },
                "mobile": {
                    "type": "string",
                    "description": "退货人手机号"
                },
                "platform_name": {
                    "type": "string",
                    "description": "退货配送平台名称"
                },
                "platform_no": {
                    "type": "string",
                    "description": "退货配送单号"
                }
            },
            "description": "订单售后申请详情返回"
        },
        ".mall.OrderRefundDetail": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "明细ID"
                },
                "prod_id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "sku_id": {
                    "type": "integer",
                    "description": "规格ID"
                },
                "prod_name": {
                    "type": "string",
                    "description": "商品名称"
                },
                "sku_name": {
                    "type": "string",
                    "description": "规格名称"
                },
                "price": {
                    "type": "integer",
                    "description": "单价"
                },
                "quantity": {
                    "type": "integer",
                    "description": "数量"
                },
                "title_pic": {
                    "type": "string",
                    "description": "图片"
                },
                "reason": {
                    "type": "string",
                    "description": "退款原因"
                },
                "discount": {
                    "type": "integer",
                    "description": "分摊优惠"
                },
                "trans": {
                    "type": "integer",
                    "description": "退款金额"
                }
            }
        },
        ".mall.Package": {
            "type": "object",
            "properties": {
                "store_id": {
                    "type": "integer",
                    "description": "订单从属货架（总部/门店ID）"
                },
                "details": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.OrderDetail"
                    },
                    "description": "子订单明细,min=1"
                },
                "warehouse_id": {
                    "type": "integer",
                    "description": "匹配仓库ID"
                },
                "deliver_type": {
                    "type": "integer",
                    "description": "当前订单配送模式，0~自提，1~同城，2~异地"
                },
                "booking_days": {
                    "type": "integer",
                    "description": "预约x天后配送，0~当日订单，无需预约，其他~预约x日后自提/配送"
                },
                "deliver_fee": {
                    "type": "integer",
                    "description": "子订单配送费"
                },
                "discount": {
                    "type": "integer",
                    "description": "营销优惠金额"
                },
                "trans": {
                    "type": "integer",
                    "description": "应付金额"
                },
                "remark": {
                    "type": "string",
                    "description": "订单备注,max=100"
                }
            },
            "required": [
                "details",
                "warehouse_id"
            ]
        },
        ".mall.PickUpInfo": {
            "type": "object",
            "properties": {
                "address": {
                    "type": "string",
                    "description": "自提地址"
                },
                "deadline": {
                    "type": "string",
                    "description": "仓库今日自提截止时间(HH:MM)"
                },
                "pick_up_code": {
                    "type": "string",
                    "description": "取件码(仅待提货返回)"
                }
            }
        },
        ".mall.ProdPrice": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "商品id"
                },
                "skus": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.CustomSkuPrice"
                    },
                    "description": "目标价格,dive,"
                }
            },
            "required": [
                "id",
                "skus"
            ]
        },
        ".mall.QueryProdsExcludeShelfRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.WebToken",
                    "description": "token, http调用需要在header传入；rpc则可以直接包装对象"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "query": {
                    "type": "string",
                    "description": "查询名称"
                },
                "prod_type_id": {
                    "type": "integer",
                    "description": "商品分类ID"
                },
                "from_menu": {
                    "type": "boolean",
                    "description": "是否从供货组获取商品"
                },
                "page_no": {
                    "type": "integer",
                    "description": "页码,min=1"
                },
                "page_size": {
                    "type": "integer",
                    "description": "每页数目(不超过100),min=1,max=100"
                }
            },
            "description": "查看商品库/供货组中不在商城货架的商品列表请求",
            "required": [
                "page_no",
                "page_size"
            ]
        },
        ".mall.QueryProdsExcludeShelfResp": {
            "type": "object",
            "properties": {
                "total": {
                    "type": "integer",
                    "description": "总数量"
                },
                "prods": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.prod.SimpleProdView"
                    },
                    "description": "商品列表"
                }
            }
        },
        ".mall.RefundApplyDetailReq": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "明细ID"
                },
                "quantity": {
                    "type": "integer",
                    "description": "退货数量（仅退款时，quantity=0）"
                },
                "amount": {
                    "type": "integer",
                    "description": "退款金额（仅退款 \u0026 退货退款均需传入，退货退款时需要小于按数量百分比的分摊金额）"
                },
                "reason": {
                    "type": "string",
                    "description": "取消原因"
                }
            },
            "required": [
                "id",
                "amount",
                "reason"
            ]
        },
        ".mall.RefundApplyDetailView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "明细ID"
                },
                "quantity": {
                    "type": "integer",
                    "description": "退货数量（仅退款时，quantity=0）"
                },
                "amount": {
                    "type": "integer",
                    "description": "退款金额（仅退款 \u0026 退货退款均需传入，退货退款时需要小于按数量百分比的分摊金额）"
                },
                "reason": {
                    "type": "string",
                    "description": "（退货退款/仅退款）原因，整单退款时为空字符"
                },
                "prod_id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "prod_name": {
                    "type": "string",
                    "description": "商品名称"
                },
                "sku_id": {
                    "type": "integer",
                    "description": "规格ID"
                },
                "sku_name": {
                    "type": "string",
                    "description": "规格名称"
                },
                "pic": {
                    "type": "string",
                    "description": "商品主图"
                }
            }
        },
        ".mall.RefundRemark": {
            "type": "object",
            "properties": {
                "apply_reason": {
                    "type": "string",
                    "description": "申请备注"
                },
                "operator": {
                    "type": "string",
                    "description": "操作人名称"
                },
                "operation_reason": {
                    "type": "string",
                    "description": "拒绝原因"
                },
                "refund_reason": {
                    "type": "string",
                    "description": "退款失败原因"
                }
            }
        },
        ".mall.ShelfGroupSortRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.WebToken",
                    "description": "token, http调用需要在header传入；rpc则可以直接包装对象"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部~0/门店ID"
                },
                "ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    },
                    "description": "分组ID列表,min=2"
                }
            },
            "description": "货架组排序",
            "required": [
                "ids"
            ]
        },
        ".mall.ShelfProd": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "name": {
                    "type": "string",
                    "description": "商品名称"
                },
                "custom_name": {
                    "type": "string",
                    "description": "商品自定义名称"
                },
                "price_range": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    },
                    "description": "价格范围[xx,xx]"
                },
                "prod_group_names": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "分组名称列表"
                },
                "status": {
                    "type": "boolean",
                    "description": "商品上下架状态，true~上架，false~下架"
                },
                "title_pic": {
                    "type": "string",
                    "description": "商品主图"
                },
                "skus": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.prod.SimpleSkuView"
                    },
                    "description": "规格列表"
                }
            },
            "description": "货架商品结构"
        },
        ".mall.ShelfProdTypesResp": {
            "type": "object",
            "properties": {
                "prod_types": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.prod.SimpleProdTypeView"
                    },
                    "description": "商品类别列表"
                }
            },
            "description": "查看商城货架类别存量可选列表下拉框返回"
        },
        ".mall.ShelfProdsBatchAddGroupsRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.WebToken",
                    "description": "token, http调用需要在header传入；rpc则可以直接包装对象"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部~0/门店ID"
                },
                "group_ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    },
                    "description": "分组ID,unique"
                },
                "ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    },
                    "description": "商品ID列表,min=1,max=100,unique"
                }
            },
            "description": "批量设置分组",
            "required": [
                "group_ids",
                "ids"
            ]
        },
        ".mall.ShelfProdsBatchPriceRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.WebToken",
                    "description": "token, http调用需要在header传入；rpc则可以直接包装对象"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部~0/门店ID"
                },
                "prods": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.ProdPrice"
                    },
                    "description": "商品价格列表,min=1,max=100"
                }
            },
            "description": "批量改价",
            "required": [
                "prods"
            ]
        },
        ".mall.ShelfProdsBatchRemovesGroupRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.WebToken",
                    "description": "token, http调用需要在header传入；rpc则可以直接包装对象"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部~0/门店ID"
                },
                "group_id": {
                    "type": "integer",
                    "description": "分组ID"
                },
                "ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    },
                    "description": "商品ID列表,min=1,max=100,unique"
                }
            },
            "description": "批量设置分组",
            "required": [
                "group_id",
                "ids"
            ]
        },
        ".mall.ShelfProdsDeleteRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.WebToken",
                    "description": "token, http调用需要在header传入；rpc则可以直接包装对象"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部~0/门店ID"
                },
                "ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    },
                    "description": "商品ID列表,unique"
                }
            },
            "description": "删除商品(支持批量)",
            "required": [
                "ids"
            ]
        },
        ".mall.ShelfProdsOnShelfCheckRequest": {
            "type": "object",
            "properties": {
                "sg_id": {
                    "type": "integer",
                    "description": "品牌ID"
                },
                "ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    },
                    "description": "商品ID列表,unique"
                }
            },
            "description": "检查商品是否上架请求",
            "required": [
                "ids"
            ]
        },
        ".mall.ShelfProdsOnShelfCheckResp": {
            "type": "object",
            "properties": {
                "ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    },
                    "description": "上架的商品ID列表"
                }
            },
            "description": "检查商品是否上架返回"
        },
        ".mall.ShelfProdsQueryRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.WebToken",
                    "description": "token, http调用需要在header传入；rpc则可以直接包装对象"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部~0/门店ID"
                },
                "group_id": {
                    "type": "integer",
                    "description": "指定货架分组ID"
                },
                "query": {
                    "type": "string",
                    "description": "商品名称关键字"
                },
                "status": {
                    "type": "integer",
                    "description": "商品上下架状态，0~全部，1~上架，2~下架,in_enum"
                },
                "group_status": {
                    "type": "integer",
                    "description": "分组状态，0~全部，1~已分组，2~未分组,in_enum"
                },
                "page_no": {
                    "type": "integer",
                    "description": "页码,min=1"
                },
                "page_size": {
                    "type": "integer",
                    "description": "每页数目(不超过100),min=1,max=100"
                },
                "excluded_group_id": {
                    "type": "integer",
                    "description": "排除指定分组(用于批量加入不在指定分组的商品)"
                },
                "prod_type_id": {
                    "type": "integer",
                    "description": "指定商品类别ID，用于部分下拉框筛选"
                }
            },
            "description": "货架商品查询请求",
            "required": [
                "page_no",
                "page_size"
            ]
        },
        ".mall.ShelfProdsQueryResp": {
            "type": "object",
            "properties": {
                "total": {
                    "type": "integer",
                    "description": "符合当前筛选条件下总商品数目"
                },
                "prods": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.ShelfProd"
                    },
                    "description": "商品列表"
                }
            },
            "description": "货架商品查询结果"
        },
        ".mall.SimpleMallProdView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "name": {
                    "type": "string",
                    "description": "商品自定义名称"
                },
                "price_range": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    },
                    "description": "价格范围，形式[1000, 2000]，表示10元~20元，精确到分"
                },
                "title_pic": {
                    "type": "string",
                    "description": "主图"
                }
            }
        },
        ".mall.StoreSimpleView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "门店ID"
                },
                "name": {
                    "type": "string",
                    "description": "门店名称"
                }
            }
        },
        ".mall.UpdateMallConfigRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.WebToken",
                    "description": "token"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部\u0026门店ID(仅总部模式允许编辑，故只能为0),max=0"
                },
                "allow_booking": {
                    "type": "boolean",
                    "description": "是否允许预约，false~不允许，true~允许"
                },
                "booking_days": {
                    "type": "integer",
                    "description": "最多提前x天预约，精确到日 0 \u003c= x \u003c= 30,max=30"
                },
                "auto_confirmed_days": {
                    "type": "integer",
                    "description": "发货后自动触发签收天数 15 \u003c= x \u003c= 30 0天表示发货后自动签收,min=15,max=30"
                },
                "refund_allowed_days": {
                    "type": "integer",
                    "description": "签收后可发起售后天数 7 \u003c= x \u003c= 90 最少保留7天无理由退货时间,min=7,max=90"
                },
                "inventory_mode": {
                    "type": "integer",
                    "description": "发货模式（仅经销商模式需要设置），参考枚举InventoryMode,in_enum"
                },
                "store_ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    },
                    "description": "关联店铺列表（仅经销商模式+部分店铺自行发货时需要设置）"
                }
            }
        },
        ".mall.UpdateMallDecorationRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.WebToken",
                    "description": "token"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部/门店ID"
                },
                "decoration_info": {
                    "type": "string",
                    "description": "装修大字段(透传)"
                },
                "prod_ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    },
                    "description": "商品ID序列,unique"
                }
            }
        },
        ".mall.UpdateShelfGroupRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.WebToken",
                    "description": "token, http调用需要在header传入；rpc则可以直接包装对象"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部~0/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "分组ID"
                },
                "name": {
                    "type": "string",
                    "description": "分组名称,max=24"
                }
            },
            "description": "编辑货架分组名称",
            "required": [
                "id",
                "name"
            ]
        },
        ".mall.UpdateSingleProdRequest": {
            "type": "object",
            "properties": {
                "token": {
                    "$ref": "#/definitions/.mall.WebToken",
                    "description": "token, http调用需要在header传入；rpc则可以直接包装对象"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "总部~0/门店ID"
                },
                "id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "custom_name": {
                    "type": "string",
                    "description": "商品自定义名称,max=24"
                },
                "group_ids": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    },
                    "description": "分组名称列表"
                },
                "status": {
                    "type": "boolean",
                    "description": "商品上下架状态，true~上架，false~下架"
                },
                "skus": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.mall.CustomSkuPrice"
                    },
                    "description": "规格列表,dive,"
                }
            },
            "description": "修改商品详情请求",
            "required": [
                "id",
                "skus"
            ]
        },
        ".mall.WebToken": {
            "type": "object",
            "properties": {
                "emp_id": {
                    "type": "integer",
                    "description": "员工ID"
                },
                "brand_id": {
                    "type": "integer",
                    "description": "品牌ID"
                },
                "name": {
                    "type": "string",
                    "description": "员工姓名"
                },
                "g_id": {
                    "type": "string",
                    "description": "统一账号ID"
                }
            },
            "description": "web token 标准结构",
            "required": [
                "emp_id",
                "brand_id"
            ]
        },
        ".pay.DoPayOrderView": {
            "type": "object",
            "properties": {
                "order_number": {
                    "type": "string",
                    "description": "支付单号"
                },
                "status": {
                    "type": "integer",
                    "description": "支付单状态"
                },
                "source": {
                    "type": "integer",
                    "description": "支付场景"
                },
                "pay_type": {
                    "type": "integer",
                    "description": "所选支付方式"
                },
                "wechat_prepay_info": {
                    "$ref": "#/definitions/.pay.WechatPrepayInfo",
                    "description": "微信预支付单提交信息"
                },
                "alipay_trade_no": {
                    "type": "string",
                    "description": "支付宝预支付单号"
                },
                "bytedance_prepay_info": {
                    "type": "string",
                    "description": "字节跳动预支付单信息(由于并非原生拼装，暂时仅透传，不支持字段解读和对齐，防止变更)"
                }
            }
        },
        ".pay.WechatPrepayInfo": {
            "type": "object",
            "properties": {
                "appId": {
                    "type": "string",
                    "description": "小程序id"
                },
                "nonceStr": {
                    "type": "string",
                    "description": "随机字符串"
                },
                "package": {
                    "type": "string",
                    "description": "订单详情扩展字符串，统一下单接口返回的prepay_id参数值，提交格式如：prepay_id=***"
                },
                "signType": {
                    "type": "string",
                    "description": "签名方式"
                },
                "timeStamp": {
                    "type": "string",
                    "description": "时间戳（秒）"
                },
                "paySign": {
                    "type": "string",
                    "description": "签名"
                }
            }
        },
        ".prod.ProdPropertyGroupView": {
            "type": "object",
            "properties": {
                "name": {
                    "type": "string",
                    "description": "商品内分组名称"
                },
                "items": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "商品内属性项序列"
                }
            }
        },
        ".prod.ProdView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "name": {
                    "type": "string",
                    "description": "商品名称"
                },
                "prod_type_id": {
                    "type": "integer",
                    "description": "商品类别ID"
                },
                "prod_type_name": {
                    "type": "string",
                    "description": "商品类别名称"
                },
                "phonetic": {
                    "type": "string",
                    "description": "拼音简码"
                },
                "unit": {
                    "type": "string",
                    "description": "零售单位"
                },
                "title_pics": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "主图列表"
                },
                "detail_pics": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "明细图片列表"
                },
                "detail_description": {
                    "type": "string",
                    "description": "明细描述"
                },
                "groups": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.prod.ProdPropertyGroupView"
                    },
                    "description": "属性组列表"
                },
                "skus": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.prod.SkuView"
                    },
                    "description": "规格列表"
                },
                "nature": {
                    "type": "integer",
                    "description": "商品类型(不可编辑)"
                },
                "status": {
                    "type": "boolean",
                    "description": "商品状态"
                }
            }
        },
        ".prod.SimpleProdTypeView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "分类ID"
                },
                "name": {
                    "type": "string",
                    "description": "二级分类名称（全程拼接：父类目名称/子类目名称）"
                },
                "p_store_id": {
                    "type": "integer",
                    "description": "二级分类归属"
                }
            },
            "description": "组内商品类别"
        },
        ".prod.SimpleProdView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "商品ID"
                },
                "name": {
                    "type": "string",
                    "description": "商品名称"
                },
                "prod_type_id": {
                    "type": "integer",
                    "description": "商品类别ID"
                },
                "prod_type_name": {
                    "type": "string",
                    "description": "商品类别名称"
                },
                "price_range": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    },
                    "description": "价格范围，形式[1000, 2000]，表示10元~20元，精确到分"
                },
                "title_pic": {
                    "type": "string",
                    "description": "主图"
                },
                "skus": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/.prod.SimpleSkuView"
                    },
                    "description": "规格价格列表"
                }
            }
        },
        ".prod.SimpleSkuView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "规格ID"
                },
                "name": {
                    "type": "string",
                    "description": "规格名称"
                },
                "price": {
                    "type": "integer",
                    "description": "规格价格"
                }
            }
        },
        ".prod.SkuView": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "description": "规格ID"
                },
                "name": {
                    "type": "string",
                    "description": "规格名称"
                },
                "price": {
                    "type": "integer",
                    "description": "规格价格"
                },
                "weight": {
                    "type": "integer",
                    "description": "重量(单位: 克)"
                },
                "items": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    },
                    "description": "属性项列表"
                }
            }
        }
    }
},
            dom_id: '#swagger-ui',
            validatorUrl: null,
            presets: [
                SwaggerUIBundle.presets.apis,
                SwaggerUIStandalonePreset
            ],
            plugins: [
                SwaggerUIBundle.plugins.DownloadUrl
            ],
            layout: "StandaloneLayout"
        })

        window.ui = ui
    }
</script>
</body>

</html>